Get rid of some debug printks.
authorsos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Fri, 8 Jul 2005 17:37:33 +0000 (17:37 +0000)
committersos22@douglas.cl.cam.ac.uk <sos22@douglas.cl.cam.ac.uk>
Fri, 8 Jul 2005 17:37:33 +0000 (17:37 +0000)
linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c
linux-2.6.11-xen-sparse/arch/xen/kernel/evtchn.c

index f095dcf9833f6db79fd0c3ef354786ca8dba7ac1..494befa697c60bdb73dd3d50c3a7d47bbee96af2 100644 (file)
@@ -1325,7 +1325,6 @@ static int __devinit cpu_enable(unsigned int cpu)
                prepare_for_smp();
 #endif
 
-       printk("<0>Starting enable cpu.\n");
        /* get the target out of its holding state */
        per_cpu(cpu_state, cpu) = CPU_UP_PREPARE;
        wmb();
@@ -1334,9 +1333,7 @@ static int __devinit cpu_enable(unsigned int cpu)
        while (!cpu_online(cpu))
                cpu_relax();
 
-       printk("<0>Calling fixup_irqs.\n");
        fixup_irqs(cpu_online_map);
-       printk("<0>Called fixup_irqs.\n");
 
        /* counter the disable in fixup_irqs() */
        local_irq_enable();
@@ -1361,12 +1358,6 @@ int __cpu_disable(void)
 
        cpu_clear(cpu, map);
        fixup_irqs(map);
-       printk("<0>Done fixup_irqs.\n");
-
-       local_irq_enable();
-       printk("<0>Interrupts on.\n");
-       local_irq_disable();
-       printk("<0>Interrupts off again.\n");
 
        /* It's now safe to remove this processor from the online map */
        cpu_clear(cpu, cpu_online_map);
@@ -1495,7 +1486,6 @@ int __devinit __cpu_up(unsigned int cpu)
        /* Already up, and in cpu_quiescent now? */
        if (cpu_isset(cpu, smp_commenced_mask)) {
                cpu_enable(cpu);
-               printk("<0>cpu_enable completed.\n");
                return 0;
        }
 #endif
index bdc505e9b9b920b2da56120f2d8838dbef62f102..156e94dbd3152a64feea41a6f63d19e463c52343 100644 (file)
@@ -341,7 +341,6 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
     evtchn_op_t op;
     int evtchn;
 
-    printk("<0>Rebind irq %d to vcpu %d.\n", irq, tcpu);
     spin_lock(&irq_mapping_update_lock);
     evtchn = irq_to_evtchn[irq];
     if (!VALID_EVTCHN(evtchn)) {
@@ -349,8 +348,6 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
        return;
     }
 
-    printk("<0>Is evtchn %d.\n", evtchn);
-
     /* Tell Xen to send future instances of this interrupt to the
        other vcpu */
     op.cmd = EVTCHNOP_bind_vcpu;
@@ -374,11 +371,10 @@ static void rebind_irq_to_cpu(unsigned irq, unsigned tcpu)
        from the hotplug/hotunplug path.  In that case, all cpus are
        stopped with interrupts disabled, and the missed interrupts
        will be picked up when they start again.  This is kind of a
-       hack. */
+       hack.
+    */
     if (!irqs_disabled()) {
-       printk("<0>Doing nop ipi\n");
        smp_call_function(do_nothing_function, NULL, 0, 0);
-       printk("<0>Done nop ipi\n");
     }
 }